# $Id$
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: kirek <rbuldo@gmail.com>
# Contributor: Cédric Bellegarde <gnumdk@gmail.com>

pkgname=lollypop-portal
pkgver=0.9.7
pkgrel=1
pkgdesc='Flatpak portal for lollypop'
arch=('any')
url='https://gitlab.gnome.org/gnumdk/lollypop-portal'
license=('GPL')
depends=('gtk3' 'python-dbus' 'python-gobject')
makedepends=('git' 'gobject-introspection' 'meson' 'python')
source=("git+https://gitlab.gnome.org/gnumdk/lollypop-portal.git#tag=${pkgver}")
sha256sums=('SKIP')

build() {
  arch-meson lollypop-portal build \
    --libexecdir='lib/lollypop'
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et:
